import service from '../../request'


export const findBaseTrademarkListByCategory3Id = (category3Id) => {
    return service({
        url: `api/admin/product/baseCategoryTrademark/findBaseTrademarkListByCategory3Id/${category3Id}`,
        method: 'get'
    })
};

export const findNotExistBaseTrademarkListByCategory3Id = (category3Id) => {
    return service({
        url: `api/admin/product/baseCategoryTrademark/findNotExistBaseTrademarkListByCategory3Id/${category3Id}`,
        method: 'get'
    })
};

export const save = (dto) => {
    return service({
        url: `api/admin/product/baseCategoryTrademark/save`,
        method: 'post',
        data:dto
    })
};

export const remove = (category3Id,trademarkId) => {
    return service({
        url: `api/admin/product/baseCategoryTrademark/remove/${category3Id}/${trademarkId}`,
        method: 'delete'
    })
};